package com.pan.api.utils;

enum PanRecordUtilAdapter implements  PanRecordUtil , GetUtilInstanceUtil{
    INSTANCE;

    PanRecordUtilAdapter() {
        this.panRecordUtil = getUtil("utils", "PanRecordUtil");
    }
    private PanRecordUtil panRecordUtil;

    @Override
    public void write(String content) {
        this.panRecordUtil.write(content);
    }

    @Override
    public String getPath() {
        return this.panRecordUtil.getPath();
    }

    @Override
    public void close() {
        this.panRecordUtil.close();
    }
}
